package org.platform.mo.db;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "tb_fd_diagnosetaskresult_test")
public class FdDiagnoseTaskResultTest {
    /**
     * 诊断ID
     */
    @Id
    @Column(name = "DiagnoseID")
    private String diagnoseid;

    /**
     * 站点
     */
    @Column(name = "stationID")
    private String stationid;

    /**
     * 结果:Success：成功
     * Failed：失败
     * Partial：部分成功
     */
    private String result;

    /**
     * 失败原因
     */
    @Column(name = "Error_Reason")
    private String errorReason;

    /**
     * 获取诊断ID
     *
     * @return DiagnoseID - 诊断ID
     */
    public String getDiagnoseid() {
        return diagnoseid;
    }

    /**
     * 设置诊断ID
     *
     * @param diagnoseid 诊断ID
     */
    public void setDiagnoseid(String diagnoseid) {
        this.diagnoseid = diagnoseid;
    }

    /**
     * 获取站点
     *
     * @return stationID - 站点
     */
    public String getStationid() {
        return stationid;
    }

    /**
     * 设置站点
     *
     * @param stationid 站点
     */
    public void setStationid(String stationid) {
        this.stationid = stationid;
    }

    /**
     * 获取结果:Success：成功
     * Failed：失败
     * Partial：部分成功
     *
     * @return result - 结果:Success：成功
     * Failed：失败
     * Partial：部分成功
     */
    public String getResult() {
        return result;
    }

    /**
     * 设置结果:Success：成功
     * Failed：失败
     * Partial：部分成功
     *
     * @param result 结果:Success：成功
     *               Failed：失败
     *               Partial：部分成功
     */
    public void setResult(String result) {
        this.result = result;
    }

    /**
     * 获取失败原因
     *
     * @return Error_Reason - 失败原因
     */
    public String getErrorReason() {
        return errorReason;
    }

    /**
     * 设置失败原因
     *
     * @param errorReason 失败原因
     */
    public void setErrorReason(String errorReason) {
        this.errorReason = errorReason;
    }
}